package com.niit.serviceuser.mapper;

import com.niit.common.entity.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> selectAllUsers();

    User selectUserById(Long id);

    void insertUser(User user);

    void updateUser(User user);

    void deleteUserById(Long id);
}